package com.zxy.Service;

import com.zxy.config.FeignConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

//@FeignClient(url="http://192.168.14.32:9090",name="abc")
//@FeignClient(value = "nacos-a")
//@FeignClient(value = "nacos-a",configuration = FeignConfig.class)
//@FeignClient(value = "nacos-a",contextId = "nacos-a-new")
public interface NacosAClient {
    @GetMapping("/port")
    String getPort();

    @GetMapping("/user")
    String getUserId(@RequestParam("id") Integer id);
    @GetMapping("/sleep")
    String getsleep(@RequestParam("second") Integer second);
}
